package com.ruoyi.deeplearn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 数据集组对象 deep_dataset_group
 *
 * @author rww
 * @date 2022-12-10
 */
@Deprecated
public class DeepDatasetGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模块ID */
    private Long id;

    /** 数据集名称 */
    @Excel(name = "数据集名称")
    private String name;

    /** 数据集编码 */
    @Excel(name = "数据集编码")
    private String code;

    /** 状态：（0正常 1停用） */
    @Excel(name = "状态：", readConverterExp = "0=正常,1=停用")
    private Integer status;

    /** 数据集类型id */
    private String dataType;//data_type

    /** 模块id */
    @Excel(name = "模块id")
    private Long moduleId;

    /** 当前数据集 */
    @Excel(name = "当前数据集")
    private Long currentDatasetId;

    private List<DeepDataset> datasets;

    public List<DeepDataset> getDatasets() {
        return datasets;
    }

    public void setDatasets(List<DeepDataset> datasets) {
        this.datasets = datasets;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public void setModuleId(Long moduleId)
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId()
    {
        return moduleId;
    }
    public void setCurrentDatasetId(Long currentDatasetId)
    {
        this.currentDatasetId = currentDatasetId;
    }

    public Long getCurrentDatasetId()
    {
        return currentDatasetId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("name", getName())
            .append("code", getCode())
            .append("status", getStatus())
            .append("moduleId", getModuleId())
            .append("currentDatasetId", getCurrentDatasetId())
            .toString();
    }
}
